/*
 * PullAdapter.java
 *
 * Created on 26 de diciembre de 2005, 16:32
 *
 */

package ocp.context.adapter;

import java.util.*;

/**
 * The pull adapter sends the information to the event source as soon as it
 * changes it state. The information is sent by means of an XML file.
 * @author Ignacio Nieto Carvajal
 */
public class PullAdapter extends Observable implements Adapter {

    public String adapterArchitecture = "";
    public String adapterDescription = "";
    public String adapterName = "";
    public String adapterOS = "";
    
    /** Creates a new instance of PullAdapter */
    public PullAdapter(String arch, String description, String name, String os, Observer o) {
        adapterArchitecture = arch;
        adapterDescription = description;
        adapterName = name;
        adapterOS = os;
        this.addObserver(o);
    }

    public String getAdapterArchitecture() {
        return adapterArchitecture;
    }

    public String getAdapterDescription() {
        return adapterDescription;
    }

    public String getAdapterName() {
        return adapterName;
    }

    public String getAdapterOS() {
        return adapterOS;
    }
    
}
